<template>
  <div>你好：{{id}}</div>
</template>
<script>
export default {
  data() {
    return {
      id: undefined
    };
  },
  created() {
    this.id = this.$route.params && this.$route.params.id;
  }
};
</script>